package com.hotelvip.enumEntity;

import com.hotelvip.common.utils.enumconfig.BaseEnum;
import lombok.Getter;

@Getter
public enum RegionEnum implements BaseEnum {


    东城区("东城区",1,1,false),
    西城区("西城区",2,1,false),
    朝阳区("朝阳区",3,1,false),
    丰台区("丰台区",4,1,false),
    石景山区("石景山区",5,1,false),
    门头沟区("门头沟区",6,1,false),
    海淀区("海淀区",7,1,false),
    房山区("房山区",8,1,false),
    通州区("通州区",9,1,false),
    顺义区("顺义区",10,1,false),
    昌平区("昌平区",11,1,false),
    大兴区("大兴区",12,1,false),
    河北("河北",13,0,true),
    天津("天津",14,0,true),
    其它("其它",15,0,true);

    private String name;
    private Integer index;
    private Integer parentId;
    private Boolean isParent;


    RegionEnum(String name, Integer index, Integer parentId, Boolean isParent) {
        this.name = name;
        this.index = index;
        this.parentId = parentId;
        this.isParent = isParent;
    }
}
